<?php
namespace api\common\models;

use Yii;
use yii\db\ActiveRecord;

class ModuleDbConfig extends ActiveRecord
{
    public static function getDb()
    {
        return Yii::$app->controller->module->db;
    }

}